/**
 * Copyright (c) 2025 myons Inc. All rights reserved.
 */
package cn.zmwh.manage.admin.modules.upms.pojo.vo;

import cn.hutool.json.JSONUtil;
import cn.zmwh.manage.admin.modules.upms.pojo.entity.Meta;
import cn.zmwh.manage.admin.modules.upms.pojo.entity.SysMenu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @describe: 、
 * @author: dmzmwh 、
 * @time: 2025-03-12 15:50 、
 */
@Getter
@Setter
public class SysMenuNode extends SysMenu {

    private Meta meta;

    @ApiModelProperty(value = "子级菜单")
    private List<SysMenuNode> children;


    public Meta getMeta() {
        return JSONUtil.toBean(getMetaStr(), Meta.class);
    }

}
